package GHM;

import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;

public class Character {
	private Sprite hatman;
	private int xpos;
	private int ypos;
	public Character(int x, int y){
		xpos = x;
		ypos = y;
		hatman = new Sprite(StaticTextures.character,0,0,64,64);
	}

	public void render(SpriteBatch sb, int x , int y) {	
		hatman.setPosition(x,y);
		hatman.draw(sb);
	}
	
	public int getX() {
		return xpos;
	}
	public int getY() {
		return ypos;
	}
	public void setX(int x) {
		xpos = x;
	}
	public void setY(int y) {
		ypos = y;
	}
}
